package com.steven.design.JieGou_Pattern.decorate.bantouming;

public class Camera implements ICamera{
    private IComputer computer;

    public Camera(IComputer computer){
        this.computer=computer;
    }
    @Override
    public void shexiang() {
        System.out.println("有了电脑 增加了摄像头可以摄像");
    }

    @Override
    public void use() {
        computer.use();
    }
}
